package com.scsystem.xysc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.scsystem.xysc.pojo.User;
import com.scsystem.xysc.service.UserService;
import com.scsystem.xysc.mapper.UserMapper;
import com.tencentcloudapi.common.Credential;
import com.tencentcloudapi.common.exception.TencentCloudSDKException;
import com.tencentcloudapi.common.profile.ClientProfile;
import com.tencentcloudapi.common.profile.HttpProfile;
import com.tencentcloudapi.sms.v20210111.SmsClient;
import com.tencentcloudapi.sms.v20210111.models.SendSmsRequest;
import com.tencentcloudapi.sms.v20210111.models.SendSmsResponse;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * @author sky
 * @description 针对表【user】的数据库操作Service实现
 * @createDate 2023-09-16 15:57:05
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
    @Resource
    private UserMapper userMapper;

    @Override
    public int updateImage(String image, Long id) {
        return  userMapper.updateImage(image,id);
    }

}




